package com.ruoyi.mdm.constant;

/**
 * 通用常量信息
 *
 * @author ruoyi
 */
public class MdmConstants {
    // 成功
    public static final String SUCCESS = "1";

    // 失败
    public static final String ERROR = "0";

    // 启用
    public static final String ENABLE_YES = "1";

    // 禁用
    public static final String ENABLE_NO = "0";

    // 已处理
    public static final String DEAL_FLAG_YES = "1";

    // 未处理
    public static final String DEAL_FLAG_NO = "0";

    // 告警类型-访问接口超时
    public static final String ALARM_TYPE_INTERFACE_TIME_OUT = "01";

    // 告警类型-邮件提醒
    public static final String ALARM_TYPE_EMAIL_ERR = "02";

    // 告警类型-数据不一致
    public static final String ALARM_TYPE_DATA_DIFF = "04";

    // 告警类型-小程序画面异常
    public static final String ALARM_TYPE_WECHAT_ERR = "05";

    // 告警类型-系统日志
    public static final String ALARM_TYPE_LOG_ERR = "06";

    // 告警类型-消息队列
    public static final String ALARM_TYPE_EMAIL_QUARTZ_REMINDER = "07";

    /**
     * urlooker访问接口状态
     */
    public static final String URL_EVENT_STATUS = "PROBLEM";

    public static final String URL_IDC = "default";

    public static final String URL_TEAMS = "1";

    // 邮件协议:POP3
    public static final String EMAIL_PROTOCOL_POP3 = "pop3";

    // 邮件协议:smtp
    public static final String EMAIL_PROTOCOL_SMTP = "smtp";

    // 邮件协议:imap
    public static final String EMAIL_PROTOCOL_IMAP = "imap";

    /**
     * 指标分类-页面异常
     */
    public static final String METRIC_CATEGORY_PAGE_EXCEPTION = "05";


    /**
     * 服务异常
     */
    public static final String SERVICE_EXCEPTION = "DOWN";

    /**
     * 服务正常
     */
    public static final String SERVICE_NORMAL = "UP";

    // 数据不一致判断类型-上游推送判断
    public static final String DATA_DIFF_FROM = "01";

    // 数据不一致判断类型-下游接收判断
    public static final String DATA_DIFF_TO = "02";

    /**
     * ECMP2状态码-800010
     */
    public static final String ECMP2_STATUS_CODE_800010 = "800010";

    /**
     * ECMP2状态码-200
     */
    public static final String ECMP2_STATUS_CODE_200 = "200";
}
